package cn.source.zk.mapper;

import cn.source.zk.domain.dto.DbAllIndicatorsSqlDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;

@Mapper
public interface DBAllIndicatorsMapper {

    //查询baseData的数据 ,参数：表名，tdGuid,timedate;
    LinkedHashMap<String, Object> getDbBaseData(DbAllIndicatorsSqlDTO dbAllIndicatorsDTO);

    // 查询谐波数据和间谐波数据
    LinkedHashMap<String, Object> getHarmonic(DbAllIndicatorsSqlDTO dbAllIndicatorsDTO);

    // 根据表名称获取到字段列表
    List<String> getFieldsList(@Param("tableName") String tableName);
}
